package com.pureut.production.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pureut.production.domain.DegreasOutputDetail;
import com.pureut.production.domain.dto.DegreasOutputDetailDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 脱脂产出明细mapper
 */
@Mapper
public interface DegreasOutputDetailMapper extends BaseMapper<DegreasOutputDetail> {

    /**
     * 脱脂产出明细列表
     */
    List<DegreasOutputDetailDto> getDataList(String degreasOrderNumber);

    /**
     * 明细详情
     */
    DegreasOutputDetailDto getDataView(Long id);

    /**
     * 查询脱脂产出明细
     */
    List<DegreasOutputDetailDto> getDetailList(String degreasOrderNumber);

    /**
     * 查询脱脂产出明细
     */
    DegreasOutputDetailDto selectDetailListMaterialNumber(String materialNumber);
}
